<h1>用户注册</h1>

<%= form_tag :controller => "users", :action => "create" do %>

<p> 
<%= label_tag :username, "常用邮箱：" %>
<%= email_field_tag :username, "", :class => "text r5px", :spellcheck => "false", :placeholder => "yourname@example.com" %>
</p> 

<p> 
<%= label_tag :password, "密 码(大于6位)：" %>
<%= password_field_tag :password, "", :class => "text r5px" %>
</p> 

<p> 
<%= label_tag :confirm_password, "确认密码：" %>
<%= password_field_tag :confirm_password, "", :class => "text r5px" %>
</p> 

<p> 
<%= label_tag :name, "昵称：" %>
<%= text_field_tag :name, "", :class => "text r5px" %>
</p> 

<div class="c"> 
<p class="fl"> 
<%= check_box_tag :agree, "", :checked => "checked" %>
<%= label_tag :agree, "同意" %> <a href="/terms" target="_blank">知乎用户条款</a>
</p> 
<p class="fr"> 
<%= submit_tag "下一步", :class => "button_blue r3px" %>
</p> 
</div> 

<% end %>